<?php

//#############################################################################
//---- SQL Configuration ----
//
//  SQL server type  :
//  'MySQL'   - Mysql
//  'PgSQL'   - PostgreSQL
//  'MySQLi'  - MySQLi
//  'SQLLite' - SQLLite

$db_type          = 'MySQL';

// only Creature, Item and Game Object uses this setting, the rest uses $itemperpage.
// $itemperpage setting is lower down at Layout configuration.
$sql_search_limit =  100;                         // limit number of maximum search results

$realm_db['addr']     = '127.0.0.1:3306';         // SQL server IP:port this realmd located on
$realm_db['user']     = 'root';                   // SQL server login this realmd located on
$realm_db['pass']     = 'ascent';                      // SQL server pass this realmd located on
$realm_db['name']     = 'realmd';                 // realmd DB name
$realm_db['encoding'] = 'utf8';                   // SQL connection encoding

          // position in array must represent realmd ID
$world_db[1]['addr']          = '127.0.0.1:3306'; // SQL server IP:port this DB located on
$world_db[1]['user']          = 'root';           // SQL server login this DB located on
$world_db[1]['pass']          = 'ascent';              // SQL server pass this DB located on
$world_db[1]['name']          = 'world';         // World Database name, by default "mangos" for MaNGOS, "world" for Trinity
$world_db[1]['encoding']      = 'utf8';           // SQL connection encoding

               // position in array must represent realmd ID
$characters_db[1]['addr']     = '127.0.0.1:3306'; // SQL server IP:port this DB located on
$characters_db[1]['user']     = 'root';           // SQL server login this DB located on
$characters_db[1]['pass']     = 'ascent';              // SQL server pass this DB located on
$characters_db[1]['name']     = 'characters';     // Character Database name
$characters_db[1]['encoding'] = 'utf8';           // SQL connection encoding

//---- Game Server Configuration ----

$server_type        =  0;           // 0=MaNGOS, 1=Trinity

        // position in array must represent realmd ID, same as in $world_db
$server[1]['addr']          = '127.0.0.1'; // Game Server IP, as seen by MiniManager, from your webhost
$server[1]['addr_wan']      = '127.0.0.1'; // Game Server IP, as seen by clients - Must be external address
$server[1]['game_port']     =  8085;       // Game Server port
$server[1]['term_type']     = 'SSH';       // Terminal type - ("SSH"/"Telnet")
$server[1]['term_port']     =  22;         // Terminal port
$server[1]['telnet_port']   =  3443;       // Telnet port - Telnet settins are needed for sending InGame Mail.
$server[1]['telnet_user']   = 'USER';      // Telnet username, must be all CAPS
$server[1]['telnet_pass']   = 'pass';      // Telnet password
$server[1]['rev']           = 'rev. ';     // MaNGOS rev. used (Trinity does not need this)
$server[1]['both_factions'] =  true;       // Allow to see opponent faction characters. Affects only players.
$server[1]['talent_rate']   =  1;          // Talent rate set for this server, needed for talent point calculation


$proxy_cfg['addr'] = '';
$proxy_cfg['port'] = 80;
$proxy_cfg['user'] = '';
$proxy_cfg['pass'] = '';

//#############################################################################
//---- Player Map configuration ----

// GM online options
$map_gm_show_online_only_gmoff     = 1; // show GM point only if in '.gm off' [1/0]
$map_gm_show_online_only_gmvisible = 1; // show GM point only if in '.gm visible on' [1/0]
$map_gm_add_suffix                 = 1; // add '{GM}' to name [1/0]
$map_status_gm_include_all         = 1; // include 'all GMs in game'/'who on map' [1/0]

// status window options:
$map_show_status =  1;                  // show server status window [1/0]
$map_show_time   =  1;                  // Show autoupdate timer 1 - on, 0 - off
$map_time        = 10;                  // Map autoupdate time (seconds), 0 - not update.

// all times set in msec (do not set time < 1500 for show), 0 to disable.
$map_time_to_show_uptime    = 3000;     // time to show uptime string
$map_time_to_show_maxonline = 3000;     // time to show max online
$map_time_to_show_gmonline  = 3000;     // time to show GM online

$developer_test_mode =  false;

$multi_realm_mode    =  true;


?>
